﻿<UserControl x:Class="Microsoft.Popfly.GameCreator.GameEngine.PlaySurface"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:Microsoft.Popfly.GameCreator.GameEngine">
    <StackPanel Orientation="Horizontal">
        <controls:SilverlightConsole x:Name="ActiveSilverlightConsole" IsTabStop="False" ConsoleHidden="ActiveSilverlightConsole_ConsoleHidden"  ConsoleShown="ActiveSilverlightConsole_ConsoleShown"/>
        <StackPanel>
            <Canvas Width="800" Height="378" Background="Gray" x:Name="BackgroundCanvas">
                <Canvas x:Name="ResizeToFitRoot">
                    <Canvas x:Name="LayoutRoot" Background="White">
                        <Canvas.Clip>
                            <RectangleGeometry/>
                        </Canvas.Clip>
                    </Canvas>
                    <Canvas x:Name="OverlayRoot" Visibility="Collapsed" Canvas.ZIndex="1"></Canvas>
                </Canvas>
            </Canvas>
            <controls:RuntimeBar x:Name="runtimeBar" Width="800" SizeChanged="runtimeBar_SizeChanged"></controls:RuntimeBar>
        </StackPanel>
    </StackPanel>
</UserControl>
